package controller;

import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;

import persistence.TermosDao;
import persistence.TermosDaoImpl;

import model.Glossario;
import model.Login;

public class ListaCadastrados {
	
	public List<Glossario> listaCadastrados (Login l) throws SQLException{
		TermosDao tDao = new TermosDaoImpl();
		List<Glossario> lista = new ArrayList<Glossario>();
		lista = tDao.listaTermos(l);
		return lista;
	}

}
